package com.project.smarthome.common.view;

import java.util.List;

/**
 * Created by L on 2016/6/27.
 */
public interface ContextMenuView {

    List<ContextMenuItem> getAllMenu();

    List<ContextMenuItem> get3Menu();

    void showMenu(List<ContextMenuItem> list);

    class ContextMenuItem {
        private int colorId;
        private int resId;

        public ContextMenuItem(int colorId, int resId) {
            this.colorId = colorId;
            this.resId = resId;
        }

        public int getColorId() {
            return colorId;
        }

        public int getResId() {
            return resId;
        }
    }
}
